package com.powergisol.gis.dao;

import com.powergisol.gis.entity.TabProject;
import com.powergisol.gis.vo.TabProjectVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TabProjectMapper {

    void saveProject(TabProject p);

    TabProject getOne(Integer settingId);

    List<TabProject> getBySettingId(@Param("settingId") String settingId);

    List<TabProjectVo> getProjectAllClass();

    List<TabProject> getAllBySet(List<Integer> settingIds);

    List<TabProject> getByIdS(List<Integer> ids);

    void upProject(TabProject p);
}
